package com.npjscg.medicalpro.controller.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.models.auth.In;

import java.time.LocalDate;
import java.time.LocalDateTime;

public class ChartDTO {
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate checkdate;
    private Integer doctornum;

    public LocalDate getCheckdate() {
        return checkdate;
    }

    public void setCheckdate(LocalDate checkdate) {
        this.checkdate = checkdate;
    }

    public Integer getDoctornum() {
        return doctornum;
    }

    public void setDoctornum(Integer doctornum) {
        this.doctornum = doctornum;
    }

    @Override
    public String toString() {
        return "ChartDTO{" +
                "checkdate=" + checkdate +
                ", doctornum='" + doctornum + '\'' +
                '}';
    }
}
